A boundary element formulation for inelastic and anisotropic bodies under complex loading