fix for bug 527 and correct return data structure in case zero ideal is passed to primdecZ
Merge pull request #514 from surface-smoothers/spielwiese.merge.fix.bug.527

fix for bug 527 and correct return data structure in case zero ideal is passed to primdecZ