RPSO is done. 3 test function added