fix correlation calculations and decrease the number of color levels