Application of a cellular automata model to the study of magnetic detection of slow-pathway in cardiac tissue