make pot and wavefunction take pointers to configReader.  refine and fix a few problems with configReader interface/cfg reader