"Now the C code is working. There is test changes in the C code, 'noTreeSimFast', 'BranchingDiscrete', 'simDiscreteIncompleteTree', but they are easily traced. Need to update and debug the 'runDiscreteMECCA' function."