Replaced time.time() by time.clock()