unnecessary int removed
openmp in exhaustive tests abstracted so that it can work on non-openmp environemtns without warnings/errors. CMake files modified to use openmp for exhaustive tests