fix X->Z and data->X in update_z and update_mu. get_shapes and test_shapes is written compactly. get_shapes also includes means_z and sigma_z.
fix X->Z and data->X in update_w
fix X->Z and data->X in update_tau
fix run and show_hinton