normalized the RMS of the histograms for two images to the area of the (smaller) image
added unit tests for histogram comparison