Added descriptive comments.
Modified LightCurve.set_badCurve(). Checks also if max(flux) equals zero to avoid zero valued lcs.