In the process of many significant changes to the changeColName function. Added useful functions to internalFunctions.R as well!