bpm2tempo() now returns an integer.

Returning a float would create problems for the encoder.