fix matrix dot bug in gaussian mixture object