Implemented sin lookup table performance enhancement

added a bunch of junk testing code.