added a explaination of wave function