Optical Cavity Design