[WIP] LMNN top-level implementation with not implemented auxiliary methods