solve_3comp_lifestage function

Solve the 3comp_lifestage model, which has time-dependent parameters