Updates timeit function for memory management and io.
Merge pull request #2 from dstar4138/master

Updates timeit function for memory management and io.