Design and management of a powder diffraction beamline for Line Profile Analysis: a realistic ray-tracing approach. (16th April 2015)