Compute_EP function

Compute the expected component for all models