Modeling Mechanical Deformation and Optical Waveguiding Properties of Ion-Implanted Diamond with COMSOL Multiphysics