Round number to nearest power of 2