Add math extension library
Add tablex.delete_if and flatten, and prototypes for lots more