At first all inertia terms are derived in a local coordinate frame , with axes , corresponding to the principal axes of the cross-section, i.e. .