rmin and Nveg_type need to be global to be used in the vic_calibration_wrapper function