Move constant definitions outside of the generated C function
Remove brackets when replacing formulae with their values