Allow sampling with no warmup or no sampling iterations; update manual and tests.
Bug fixes and updated tests