Gradients should stay on path: better estimators of the reverse- and forward KL divergence for normalizing flows. Issue 4 (1st December 2022)