REF: refactor and speedup of mixed LME

Fix one docstring.

Fix a bug that was preventing the history from being returned.