Added .gitignore, broke out sleep calculation.