Renamed cfd function to make it consistent with other metrics
Renamed get_history to make it consistent with other metrics functions