Made optimal points calculation start at a sensible value (was
previously 1.5x the entire x-size of the grid, even if only a small part
was used
Latest changes for cloudmask