Sparsity improved by defining internal symmetries of the moment matrix through SDP variable substitutions
Function for saving monomial dictionary