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.
`ruby_element.kind_of?(Numeric)` seems better to me than duck typing.