Maximum-Likelihood Continuity Mapping (MALCOM): An Alternative to HMMs