Added some code documentation to IPS.c.

- Added comment to ISPCheckPatch to document it's functionality.