making round_to_precision bail when handed bad input for $precision
adding documentation for round_to_nearest and round_to_precision