added more methods to Matrix