cev_calibration.m has been capsulated in a function.