Fixed sign errors in beam3d. Numerical integration for both beam2d and beam3d (to enable varying cross-section data and nonlinear material response).
Added thermal expansion to generalized strains in simple cross-section. Simplified code.