MAINT: Remove unused rounding method.

round_to_nearest is no longer referred elsewhere.