Define a new quantity
called the local energy, which, together with our trial PDF yields
with N being the number of Monte Carlo samples.