A numerical approach for inverse problems in photon transport inside an interstellar cloud