alteration to rlib.cpp so .Call(CareCascade) takes a calibration arguement.