Finished up the total time calculator. It's giving negative values though...