Bifurcations And Rotation Numbers for Maps of The Circle Associated With Flows on The Torus And Models of Cardiac Arrhythmias