Mass-spring system for modeling plant tissues