Method for Detection of First Phase in Seismogram Based on Akaike Information Criterion (AIC) Function