fix bug in xdifile.c where last point was dropped from data table

have xdireader report bottom of data table
perl wrapper now passes all tests