Added some timing functionality

Times for some of the possibly time-consuming parts of the run script have been saved at key points in order to figure out where the most time is being spent.