linear_hysteresis_CF function

Calculates connected/contributing fraction