ELMAG: A Monte Carlo simulation of electromagnetic cascades on the extragalactic background light and in magnetic fields - CPC, Mendeley (Mendeley, 2012)