Added a functor subclass to PropagatorGrid to allow more flexible
potentials.