Testing new apporach for preparing input sequence (on/off states)
Kicked out Baum-Welch -> supervised learning
Cleaned up a bit