Initial version of contrast enhancement