code: def intersectionlist_to_matrix(ilist, xterms, yterms):
          
          z = [ [0] * len(xterms) for i1 in range(len(yterms)) ]
      
          xmap = {}
          xi = 0
          for x in xterms:
              xmap[x] = xi
              xi = xi+1
          
          ymap = {}
          yi = 0
          for y in yterms:
              ymap[y] = yi
              yi = yi+1
              
          for i in ilist:
              z[ymap[i['y']]][xmap[i['x']]] = i['j']
              
          logging.debug("Z={}".format(z))
          return (z,xterms,yterms)
docs: WILL BE DEPRECATED
  
          Replace with method to return pandas dataframe