Effective Use of the Mathematica Compiler and Code Generation