Added error calls for per-row backgroung inhomogenity, and RGB input. Removed unused import, added
"Done!" statement. Reformatted print to python3 syntax