Ending Capital Balance Formula