code: def calcDrawingProbs(self):
          
  
          wmg = self.wmg
          phi = self.phi
  
          # We say the weight of the candidate in position i is phi^i.
          weights = []
          for i in range(0, len(wmg.keys())):
              weights.append(phi**i)
  
          # Calculate the probabilty that an item at each weight is drawn.
          totalWeight = sum(weights)
          for i in range(0, len(wmg.keys())):
              weights[i] = weights[i]/totalWeight
  
          return weights
docs: Returns a vector that contains the probabily of an item being from each position. We say
          that every item in a order vector is drawn with weight phi^i where i is its position.