FIX Gaussian KDE should return array, not scalar

Fixes #3269.