Adding FEM matrix analysis classes