docs: def convertToTransitionDict(self,transitions):
          """
          If numpy is used, then this converts the output from transition() into a dict.  
          """  
          states,rates = transitions
          rateDict = defaultdict(float)
          if states.shape[1] == 1:
              for idx,state in enumerate(states):
                  rateDict[int(state)] += rates[idx]
          else:
              for idx,state in enumerate(states):
                  rateDict[tuple(state)] += rates[idx]        
          return rateDict