parbootstrap function

Creates bootstrap samples of the parameters