Update splitgeodesics.py