bug in difference of angles (3)