Text this: Automatic ECG analysis using principal component analysis and wavelet transformation