moved feature weight printing to separate method
moved EM algorithm into this class and modified it to print feature
weights