added raypath plotting, and homogenising datafile format