Implemented and tested wavefunction element creation and solving.