Try to assemble alternate integral.py with compute.py

Compute integrals.
Integrals look plausible.
Crash sometimes when computing beta.
Merge remote-tracking branch 'origin/master'