window Simple python function to return a window function matrix to transform a theory P_ell(k) into the observed and binned one. Takes in the window function, an input theory k vector (assumed log spaced) and output k vector (assumed linearly binned).