Connecting Quadratics, Line Segments, Continued Fractions, and Matrices