A Coupled System of PDEs and ODEs Arising in Electrocardiograms Modeling