cama function

Run the model cama function