Updated mainFun.R for descriptive function name, fixed initG, added helpfile.pdf