A smartwatch to accurately detect Atrial fibrillation