I am trying to create an A matrix of reshaped images in shape of a vector. Each Row of A matrix shall be one image as a vector of shape(1 row, and m * n columns)