add toImage method
implement interpolateColor for Matze's ColorGradientType
add new files to cmakelists; improve discrete and matze's mode
fix Matze's type