Rotates the given point by the given cos and sin.