added check for singular to debug, restart polymake in debug mode to trigger wrapper compilation