updated singular.cc to Singular 3-1-6
added testcases for primary decomposition