Merge Potential and Acceleration functions. Still need to optimize more
Unrolled powers removed duplicate array access on k for tried starting using omp parallel