Added possibility to define thresholds as linear functions.
(modules calculating concordance/discordance + 'common.py')