What is depreciation and how to calculate it