Small changes in LMNN notebook to reduce running time.
Merge pull request #2501 from iglesias/notebook/lmnn

Small changes in LMNN notebook to reduce running time.