Monte Carlo simulation of photons in two-layered media for density gauges - CPC, Mendeley (Mendeley, 1974)