got the plots done for the EM algorithm