Added DataFile class.
Changed calculations of polar and azimuthal angle.