Move compression functions to Compressor.cpp. Implementing rescaling support in a cleaner way.
Move globals to Compress class, to do CUDA initialization only once. enableCUDA is broken, will be fixed later tonight.