Modified lightcurve reconstruction to use a cosine series, as I've now
determined that the phase-shifted coefficients correspond to a Fourier
cosine series.