Changed time.time to time.clock

fixed negative time stamp bug (caused by changing the system time)