Made updates to TC sim script and added script for sine wave generation
Updates to compiler settings and minor bug fixes to code.