added tex update and images, added EM and Gibbs sampler notebook as examples