Add distance measures

Added distance measure Eulidean, Mahalanobis, SpearmanR, SpearmanRAbsolute, PearsonR, PearsonRAbsolute