On the calculations of the variational correlation energy using Møller—Plesset first-order wavefunctions