Algorithm shown to detect those at high risk of atrial fibrillation