Fixes broken unit tests (#4)
Set mahalanobis distance default (forgot in previous commit)