added kmeans and neural network color reduction