Bug fix: masked region in chunk could get slightly oddly spaced slope correction.
Clean syntax in places -- remove comment kruft.