Defibrillation thresholds in a three-dimensional computer model