Added correct IR function.
Merge branch 'master' of https://github.com/ahfergus1/cs3307
Updates!