Added a function to crop ds9 contours to ds9tools.py