The Economic Theory of Replacement and Depreciation