Code for "Rapid and Rapid and deterministic estimation of probability densities using scale-free field theories" arXiv:1312.6661 [physics.data-an]