added array of terms lists to store polynomial systems