Add functions to compute ceil(log2(N)) to match functions for floor(log2(N))