The determination of energies and wavefunctions with full electronic correlation