Added convergence by exponentially weighted average. Fixed label scripts extra new line bug.