solve the bug in SRoMCPS.cpp and add a lot of test code and info output code