Minor changes for testing Phi_JC.cpp