Add symbolic_problem_generator.m
Generate code for numerical functions
Fix optJac code generation; Fix bug in stateRHS