An Elastica Model That Describes The Buckling Of Cross-Sections Of Nanotubes