added per-iteration timing to the bootstrap.r script