- implemented more functions for Matrix