Programmable, Soft Optical Waveguide for Optogenetics