Tested MultiHarmonicPotential.