XMM - Probabilistic Models for Motion Recognition and Mapping