Fixed severe bug with product potentials

Fixed a bug with ProductPotential where having one component evaluate
to zero could give NaN forces.