Initialize the hw-hmm