Added operator[] to matrix