code cleanup
switched from euler to verlet integration