Add convenience function for VMC estimation
Created by: femtobit
This PR adds a convenience function for VMC sampling, which only requires callers to provide operator, machine, and MCResult.
For consistency in the interface, I have also changed the order of arguments for operator.local_values
, so that is more closely matches the previous API and the new convenience function.