initial implementation of what I hope is a 2D Savitzky-Golay kernel generator