Added log2 and log10 for complex