Added #nearest_rank to monkey-patching
Added test for #truncated mean with collections that don't implement #slice