put the preprocessor checks for logger entries of different matrix-inversion options in the correct order