code: def get_delta_pal_vectors(PTRMS, PTRM_Checks, NRM):
      
      PTRMS = numpy.array(PTRMS)
      PTRM_Checks = numpy.array(PTRM_Checks)
      TRM_1 = lib_direct.dir2cart(PTRMS[0,1:3])
      PTRMS_cart = []
      Checks_cart = []
      for num, ptrm in enumerate(PTRMS):
          ptrm_cart = lib_direct.dir2cart([PTRMS[num][1], PTRMS[num][2], old_div(PTRMS[num][3], NRM)])
          PTRMS_cart.append(ptrm_cart)
      for num, check in enumerate(PTRM_Checks):
          check_cart = lib_direct.dir2cart([PTRM_Checks[num][1], PTRM_Checks[num][2], old_div(PTRM_Checks[num][3], NRM)])
          Checks_cart.append(check_cart)
      return PTRMS_cart, Checks_cart, TRM_1
docs: takes in PTRM data in this format: [temp, dec, inc, moment, ZI or IZ] -- and PTRM_check data in this format: [temp, dec, inc, moment].  Returns them in vector form (cartesian).