Improves flux_point API, adds lafferty method and unit tests/example