Vectorial geometric field tracing through GRIN media and fibers (I)