Changed to use of distFlag in get_distance method.
Former big distance for bad curves is now a mean of all the distances in the other bands. Each band has now a separate file.
Modified distance flagging value.
Fixed bug in distace flagged values calculations.
Stores distance values per band in different matrices. Saves in
different files. Doens'nt seems to work
Fixed bugs: code lines from dev_band_sliced_matrix branch.
Modified value of distFlag. Now is `5`\
Added redshift and absorption correction before fit. Changed way f dealing with flagged values in distance calc.
Added time_correct() and correct_for_absorption function + tests.
Fixed bug in call to time_correct().
Added redshift_distrib() function to plot redshift distribution of the whole sample.
Modified graphic output of redshift_distrib().
Fixed type in correct_for_absorption() name. It was correct_for_absorbtion()
Fixed bug in fit section. Check on flux length was using flux.size. Now is using len(flux) [flux is a list!]
Removed print instractions.
Fixed code for use of lists.
Added time identifier in peaked and nopeaked files.
Added `k_correct_flux` method to Supernova class.
Modified `k_correct_flux` method in Supernova class. Now performs mjds intersection along bands.
Added time identifier in peaked and nopeaked files.