Removed some stale helper code.
Updated Pixel class to automatically cap values [0, 255].