Update simcomp.c