added the method train for further training
replaced expectaiton maximization call with train
Merge branch 'train'