z_scored_group_mean function

Z scored with with respect to the group mean