A theory of multi-layer flat refractive geometry | Synapse