makefile / invlap NaN / input checking / particle tracking test case mods