Bug Fix - scaling and norm error

the occurence and peak metrics were returning values, possibly in the
range [-1,1], with the sign indicating before/after. Now they return
values in the range [0,1], where there is no before/after indication