Test script in python for coordinate transformation formulas between