Added FloatEq function for comparing floats.