An Artificial Neural Network Approach to Dynamic Security.Assesment in Electric Power Systems