Added a version of DoubleUtils for Baha to use.