Fuzzy check floats

This is to fix the intermittent travis failures on the JVM for #28. I suspect 
that they are related to exact comparison of floats. This change allows floats
to be close enough.
Yup, agreed. I'll make that change.