Added exec call function in LinearSim.c