bug fix in 2/3 orthogonal planes

small fix for calculation of angular error