Wavefront-based inverse electrocardiography using an evolving curve state vector and phenomenological propagation and potential models