reduction of total memory use by reduced replication of arrays
pixles are now loaded/filtered on initialisation
reduced memory usage
csigma now used to create a dcurve that is -1,0,+1. 
csigma and origional curvature map is then discarded
debug messages now take up less memory when debug is not set