coded up test case for rcgw, visualizeCohMat