trial wave function properties half-infinite wall