Impact of Regulations on R&D: The Costs and Effects of Regulations