Remove unnecessary global variables from input
Combine the read functions into one call
Generalize the input to prepare for different read functions
First running version of GetTimeProf