changed when we thumbnail the image, fixed how we get the set of pixels, and now selects a random sample of image pixels to look at