fixed EM demo, BIC computation had a bug