Updated the customRoutineProcess to create main.c added functions to create threads for each sample rate.

Re-generated code with new routine process.