A Modular Code for Real Time Dynamic Simulation of Gas Turbines in Simulink