[important] fixed bug in getTimeFromBeat, getNotePositionWithBPM when beat%0 != 0