MatrixGenerator is now instanced within the IsSorted method to prevent all possibility of comparing matrices of different sizes.
Added new test methods for IsSorted.