remove formulaic initialisation of fretvalues, add empirical measure, remove sort