Computing Integrals Involving B-Splines by Means of Specialized Gaussian Quadrature Rules.