Fixed stupid fault in cpr calculation