Added a python file to calculate the energies. Fixed a small bug in the move atoms file. Fixed a memory access issue in the collision kernel (even though it wasn't the collision kernels fault exactly).