loo_rank function

Leave-one-out ranking