Improvements to and limitations of Latin hypercube sampling