code: def invort(m):
      
      m = stypes.toDoubleMatrix(m)
      mout = stypes.emptyDoubleMatrix()
      libspice.invort_c(m, mout)
      return stypes.cMatrixToNumpy(mout)
docs: Given a matrix, construct the matrix whose rows are the
      columns of the first divided by the length squared of the
      the corresponding columns of the input matrix.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/invort_c.html
  
      :param m: A 3x3 Matrix.
      :type m: 3x3-Element Array of floats
      :return: m after transposition and scaling of rows.
      :rtype: 3x3-Element Array of floats