A nonlinear planar beam formulation with stretch and shear deformations under end forces and moments. (October 2016)