Fixed flyer bug

Fixed a bug that caused the flyer to fly in a straight line instead of a
sinusoid