modification to lightcurve.f for simple caustic to test crescent