Test unit for Polynomial Chaos

Reorder the function to print the sample points and the weights of
different PC schemes.