Added declarations for bit reversal sorting