Modeling the leaf angle dynamics in rice plant