Tempo Calculation bug fix

Modified a line that converts the three 8 bit mpqn fields to a 24bit number.  Calculation error present whenever any of the fields contained the same value due to the use of self.data.index() in the shift amount.