Radiative Transfer through Arbitrarily Shaped Optical Media. Part I: A General Method of Solution | Synapse