Nanowire Photonic Circuit Elements