Added subscript operator and 'get' function to obtain values from inside a matrix.