Flux point method

Implements #50 .
Importing `gc` and calling `gc_collect` should not be necessary.
Why did you add it?
(If there are cyclic references that currently make this necessary, we have to restructure the code to avoid them, but I don't think there are!?)