addition and fixes: walsh coeficient