Recipes
Reference
Krolik & Edelson (1988) correlation with adaptative binning. Old version, not using numba. Kept for debugging purposes.