Add method setMatrix (ex. 4 On-liners for matrices) and main to test.