Added Missing log2

Added missing log2 variable