Added 4D lightcurve slicing