Function that computes the quadrature points and weights from the moments using the three term recurrence relation.
Works only for the univariate case. Error message is returned if attempted with dimension > 1.