2-d window functions

See issue #70. The 2-d window functions are tensor products of the 1-d functions $ w(x,y) = w(x) \otimes w(y)$.