Two-year gain of 21 percent brings research expenditures to record level