Improved output for Python code.
Added partial vectorization to nested sampler.