Modelling leaf shape dynamics in rice