fix calc.dir to calc.vaspdir
added time check
renamed some files. added documentation. separated out atat functionality.