Fixed leapfrog integration, removed dumb threading (not openmp) support