Miniaturized electro-optic infrared beammanipulator based on 3D photorefractive funnels