An efficient recursive algorithm and an explicit formula for calculating update vectors of running walsh-hadamard transform | Synapse