Check in variational EM code that seems to work.