Error analysis feature

Simply run ./run_test
To change the method being tested, change the genSineErr line in
errTest.cpp