Simplified Rotsprite algorithm.

It is used to perform any kind of rotation with the RS imagepath
function which could only rotate in multiplies of 90 degrees previously.
Documentation and cleanups to the RotSprite methods.