updating the lcao_wavefunction class