A high performance modulo 2ⁿ+1 squarer design based on carbon nanotube technology