Create data for HMM