removed unneeded function object
test added as SUBDIR
return nan for empty PolyTable
more tests added
more tests
external mutations