Robust Learning of Noisy Time Series Collections Using Stochastic Process Models with Motion Codes