[math] more x_integrate_fi functions
[math] algebra: remove some more type specific macros