Topological Data Analysis for Arrhythmia Detection through Modular Neural Networks