code: def encodeThetas(self, theta1, theta2):
      
      # print >> sys.stderr, "encoded theta1 value = ", theta1
      # print >> sys.stderr, "encoded theta2 value = ", theta2
      t1e = self.theta1Encoder.encode(theta1)
      t2e = self.theta2Encoder.encode(theta2)
      # print >> sys.stderr, "encoded theta1 = ", t1e.nonzero()[0]
      # print >> sys.stderr, "encoded theta2 = ", t2e.nonzero()[0]
      ex = numpy.outer(t2e,t1e)
      return ex.flatten().nonzero()[0]
docs: Return the SDR for theta1 and theta2