Fix masking bug during resampling
Fix masking bug during resampling

Oops! Logical error in the range of mask values used for bootstrapping.
Good thing I haven't used this for anything yet, because it was totally
broken. Also cleaned up extraneous copy calls.

radakb/pynamd