signif_half_up function

Round a numeric vector to the specified number of significant digits; halves will be rounded up.