Updates to linear.group.trend to make the error distribution a bit more sensible (and the plots less obvious)