update error flow, add autcalc functions
updates to lightcurves