A matrix with N rows and M columns is stored in memory using column major format. Each entry in the matrix is one byte in size. Write down the formula to calculate the memory address of the item stored on the i-th row and the j-th column.
a) Address = M i + j
b) Address = N j + i
c) Address = i N + j
d) Address = j M + i