Hadamard Transform Optics