Add tent3d_forward.h to decrease dependencies to tent3d.h.
Add some Doxygen comments and removed old codes from teline3d.cpp.