code: def initialize_dendrites(self):
      
      # Wipe any preexisting connections by creating a new connection matrix
      self.dendrites = SM32()
      self.dendrites.reshape(self.dim, self.num_dendrites)
  
      for row in range(self.num_dendrites):
        synapses = numpy.random.choice(self.dim, self.dendrite_length, replace = False)
        for synapse in synapses:
          self.dendrites[synapse, row] = 1
docs: Initialize all the dendrites of the neuron to a set of random connections