added some methods to help implement the refract method later on, and started the refract method; have yet to implement the production of the resulting direction vector in media II