first pass at utilities for 2D smearing. they're all wrong now, and need more work before they are anywhere near useful.