Changed hadamard func. name to hadamard_transform