split data into learn and test sets, restarted mahalanobis, calculated mean of learn sets (for covariance)