Corrected a bug with contrast; tried to debug seed