Adding calculations of eigenfunctions

Putting code for eigenfunction calculations.
Cleaning problem with memory.
file to ignore
First debugged version
Latest version