Added functions for finding the next highest power of two from a value.