updated loops to use hardware timing
Merge pull request #8 from superjax/master

updated loops to use hardware timing