Vectorial ray tracing scheme for arbitrary complex amplitude profiles through a given optical system | Synapse