Allow setting library calling convention and getting ctypes symbols
Test all math functions