A small tool to manipulate 2D functions