fix typo
(#563)
fixed syntax error
(#563)
added a progress counter, upped the default nsamples to something pretty big
(#563)