Numpy complaints about using float indices
Adding convenience function for estimating the best tempo