Optimization and characterization of a high channel count stimulation device for use in retinal and cortical prosthetic devices for artificial vision.