How the R&D Tax Credit Is Calculated