P and S signal classification through a support vector machine. Trained using Chilean seismic data.