Text this: Matrices, moments and quadrature with applications