Update LinearSim.c