Update sofia_pipeline.py

Moved WCS conversion to a new module (wcs_coordinates.py) and added GIPSY header repair there.