Text this: Classification of atrial fibrillation using second order dynamic system with pattern recognition algorithm