untested version of algorithm to sample configurations - also removed project files from eclipse