Added in print statements for gathering running time data.
Minor bug fix.