Modifications so LMNN can be used from interfaces.
Use static_cast instead of dynamic_cast to save runtime in custom Mahalanobis distance
Merge pull request #1289 from iglesias/feature/lmnn

Feature/lmnn