Finite Element Method, the Theory