Fix bug in speciesByRatesMatrix