2d point test case

could not use ml.hpp, so had to add mlngas.hpp instead, more small bugfixes