Calculating Vw and Sw