made refraction class also working with topography given with token z in data file
some pep8 reformatting