Added accurate sky/continuum estimation to sky_subtract
Fixed total flux produced by line_profile
Fixed bug that caused diagonal win near the edge to not be counted