Updated version of drawArrow

This version uses pre computed trigonometric values. Draws the arrow at the end
of the line.