Added parameters to compiler for passing to constructor of generated program code.
Added default value for trainingCount to math fitness methods.