Added random access iterator in matrix