use the x and y components to average the angles without worrying about
the wrap around