Implement 'variational renormalization'