Preliminary functions

Testing for selecting features