Removed the unsafe atol and atoi commands from the code, in particular for the random_tcl.c file, for which their implementation lead to unexpected and undesired behavior.