fix function table wrapping of Math.*
improve mathfuncptr test
fix FI_* of Math.*