Smooth2D function

Smooths a 2D field