adds rank check

adds analysis of ranks of permutation importance across different tuning
parameter values, and makes a few small fixes