Text this: Automated calculation of shaft flexure for a gun drill