fixed a lot of typos and small errors, need to figure out why my integrator thinks I'm calling two instances of it at once in a single threaded program