Fixed naming misstake of LogisticTransformationTest. Added some error checks to the cuda tests
Fixed some errors in CMake related to compilation for cpu only