refactored bregman-ward
fixed multi-dimensional smoothing