This function computes distance between two vectors based on L2-norm
Distance(b, a)
b
Second vector
a
First vector