Generating Optimal Initial Conditions for Smoothed Particle Hydrodynamics Simulations. (18th December 2015)