Mathematicians explain how plants climb