refraction test files, Ray class, and additions to refraction code