Mgalctc calculation by table b