An automatic system for the analysis and the classification of human atrial fibrillation patterns from intracardiac electrograms