test the output of H(R)/S(R) matrix; Note: delete OUT folder before testing!
