bug in difference of angles (4)