Create wavefuncs.cpp