Calculating Capital Structure