Added methods:get_distance and normalize_error. Modified method normalize_LC. All in class SupernovaFit
removed sintax errors.
Changed prediction axis values.
Modified LightCurve arrays to MaskedArray.
Fixed bug on instruction that changed MaskedArrays into ndarrays.
Added get_distance method to SupernovaFit class. Seems to work. To be tested better.
Removed double initialization of SNType attribute.
Updated diagram with new classes.
Changed candidate to candidates in CandidatesCatalog. Added test section.
Conluded and tested testing section.
Put more coherence in classes methods.
Modified input args. Added options --training-directory and --fitting-directory.
Modified in accordance qith new code.
Added pdf view.
Switched to np.argmin() to determine max position
Added max_flux and max_error properties to SupernovaFit to account for empty lightcurves.
Removed bug in reset_masks method.
Developped and debugged distMetric block.
Moved distance atrix from ndarray to R matrix. Improved output.
Fixed bug in get_peaked. Deleted checks in get_distance()