Analytic and ergodic properties of certain classes of Euclidean algorithms