Moved psiGround to main.cpp