RF - fix peak_directions

I think this is a cleaner way to apply the min-max norm.