Updated Terrplant_output and _model