Help me optimize this code

BlitzPlus Forums/BlitzPlus Programming/Help me optimize this code

Lookup tables used to be vital, but chips must be pretty well optimised for floating point and trigonomety now I guess. btw CPUs has no apostrophe, nor does PCs or CDs or DVDs or 1980s not a lot of people know that ;-)