Sample chains in parallel

This is an experimental addition. It is currently not enabled by default.

Closes #20.