Finished importance sampling, created new wavefunction class