Changed determineBoundAndPlotPotential.cc to use the faster implementations