fixing p0 angle error message fixing grouping function which led to wrong runs being produced by GrisDay class