Learning LDS from multiple sequences of temporal data