cleaning up some code
get 2x size image for retina display
contrast
pc quantiles

added quantiles for pc
working on contrast values
separated out pixelSort
tidying up