removed obsolete getRefractiveVector function