Use TypeTensor inverse code in FEM system ex2.