Update LMNN to compute outer products on demand instead of keeping them in memory.
Update its unit tests too.
Merge pull request #1329 from iglesias/feature/lmnn

Update LMNN to compute outer products on demand instead of keeping them ...