How is the valuation of a company calculated?