fix mistake in the sample.py code, make sure that
the image data is now normalized row by row.