gross domestic investment formula