variable selection function with null permute bands and plots