Add coordinate calculation to bishift.py