Improved tests
Corrected rm error
Code now partially runs for test
however there is a major preformance
issue with the integrals
Solved integral problem, missing
n. Now produces output for test