adding projection technique to randomized hadamard trasnformations