Finished Second Metric

Finished measurements of color frequency. Solved errors with threading.
There are 3 images that have index out of bounds errors. The only thing
i can guess is because they are the only images with less than 100 dpi.
But i don't know for certain.