Adding randmat test from Cowichan problems.

Also adding Int_Matrix to help with the test.