One of the two miscomputations identified in the infoVal metric, namely the omission of the k constant, turns out not to be a miscomputation, since the constant was already taken into account by default in the mad() function from R (see https://www.rdocumentation.org/packages/stats/versions/3.6.2