Problem statement and the Walsh Haddamard Solution for a matrix