corrected index notation to row i, column j vs cartesians (x,y). top left is (1,1)