Major fixes to how cpa, cpt, and cpr are computed. Some comment print statements need to be removed.