Made the array for matrix right

that's what I did