Added histogram difference function
Close #2