compute_fixed_moments function

Compute fixed moments for E step.