updated Test_allostery.py and allostery.py