- added validation and plotting -- this now seems stable..
increase default gamma calibration precision to steps of 10/255