Weighted Average Cost Method Formula For Density