Add op_ prefix to function names and link with math lib