added lambda.subset, a function for subsetting arrays with multiple values at once.