Rewrote main.cpp completely. Added error finding function which isn't working at all. Fixed errors with finding and printing energy. Fixed Verlet-solver.
Merged.