fix tests on 32 bit linux by fixing casts and adding slight tolerance for feature_at_point - closes #15