precalculated transform values

Added a method to pre calculate transformation values. Previously 4 calls to trig functions were being called per point transformed. Even if scale and angle were to change per frame (currently it seems that they cant), it would be better to calculate these parameters at the beginning of the frame. Should be a minimal change that will increase performance.