Flux point method

Implements #50 .
Please add a unit test for the `x_method == 'log_center'` case.