Started 4d capabilities. Lightcurve and spectrum still missing. Tests to come.