Added mahalanobis distance and mixture of gaussians

Signed-off-by: Brandyn A. White <bwhite@dappervision.com>