* time.time() returns a float which python doesn't like to divide. Fixed.