Two small fixes to learning. (1) use more of the trajectory data during ...

...hot-starting with kmeans. more robust. (2) recover from singular matrices during lqa approximation M-step