Working Header File

Completed code profiling and determined running averages is
computationally costly, but not enough to drastically change the code.
This is the working code before application to the MAB problem.