finished the factorizer for now. Wolfram alpha needs to work out some of the harder expressions.
initial work on converting to c code done. Some strange non-calcellation in expression though..