General FEM approach to solving the schroedinger equation with a geometric potential on the surface of a torus embedded in R3