Color images now working.
Brought computation out of loop, added omp, got 40x speed up.
AVX instructions added.