Add distance measures

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