added writePolymakeScript function
compute volume for arbitrary n (except that algorithm is exponential or worse)