old ELLIPSE output reading code in IDL