err function

Calculate component specific error terms under MixAR model