Modified infared.c
A ton of changes

Code will now compile, but is in a temporary state.
This is one of Zach W's Changes

I didn't really check what he did, but it needs to be commited.