Added feature selection tests in preparation to do multithreading
Refactored feature select
Made feature select multithreading compatible but has issues in windows