ANALYSIS OF THE RELATIONSHIP BETWEEN MEAN INDICATED TORQUE AND ITS WAVEFORM FOR MODERN COMMON RAIL DIESEL AND GASOLINE ENGINES