Added code to compute effective width properly, including correlations