Medianlinecorrection and 256x128

Medianlinecorrection for scan data was added
recognition of 256 by 128 pixel images and plot as a square image.