Fixed bug on flux measurements number check.
Added new class SupernovaFit.
Rounded min and max in predX definition (gp_fit function).
Added functionalities from SupernovaFit class: saving fit in variable
and shifting mjds to corresponding mjd at max r flux.