Perceptual comparison working.

It's not really cross platform and the cmake file still needs some work.