implements is_primitive
fixes get_nice_poly due to changes in is_primitive
Merge branch 'spielwiese' of github.com:alexandermattes/Sources into spielwiese