Development of the routines for the solution of 1D and 2D quantum and transference problems using the using the Finite Element Method