wavefunction class header