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