Fixed reindex_wcs; added slice_to_lightcurve (still untested)