A method for quantifying atrial fibrillation organization based on wave-morphology similarity