A polynomial chaos method for arbitrary random inputs using B-splines. (April 2020)