Registration for Ray Optics in COMSOL Multiphysics