Removed redundant functions in cSIR.c