moved robust_sigma into ccdredux.py