Move utility functions used to compare profiles to CDISPD::Utils

Contributes to #8