Fixed bug in uniform kernel (returned a scalar instead of array; made KDEUnivariate fail).