Numeric analysis helper example for Palantir