Compressor calculation mode

Adding of calculation modes to compressor.
Small bugfixes and translations