Added method to randomize the PixelBuffer data