An Application of the Kiefer-Wolfowitz Equivalence Theorem to a Problem in Hadamard Transform Optics