Simulation of argon response and light detection in the DarkSide-50 dual phase TPC. (23rd October 2017)