Update ColorCorrelogram.hpp

. split out helper functions
. changed function signature to pass in distance