Removed completeWalshTransform, improved intendation, made m as the variable of the boolean function