changed the closeTo() utility to account for very large floating point numbers