class to read in xdatcar started