Fixed some errors, added linalg-ansatz to FDM