implemented correct treatment of NAs in the bootstrap samples
corresponding docu added