mostly non-functional test module
did some stuff (if __name__ = 'main") to try and get the testing for trigfunctions working