Optical considerations in the design of digital optical computers