Understanding paraxial ray tracing