Essays on capitalizing Research and Development expenditures