fixing bug where all features were still being considered when only the randomly selected ones shoud have.  also added attribute arrays for the selected and subsurface features but these are not implemented yet