rewrote getBGcomposition.py, removing code duplication
added plot of minDeltaPhiHat