I am trying to adapt some code and perform an expected maximisation (EM) where the distributions are not normal. I can\'t seem to make it work so any help would be much much