. . "A separate B&O tax rate applies to nonprofit corporations and nonprofit associations for gross income earned in performing research and development within this state, including medical research." . . .