Save 2d numpy array as grayscale image. reshape(row,col), but conversion of a numpy.