Find length and dyadic length of array
[n,J] = dyadlength(x)
array of length n = 2^J (hopefully)
length(x)
least power of two greater than n
Side Effects A warning is issued if n is not a power of 2.