Modeling of Branching Patterns in Plants