FUNCTION: LieTools/SchemeIntersectHg
USAGE: SchemeIntersectHg(n,w);
SYNOPSIS: SchemeIntersectHg(n,w) computes the restriction J of a set
  homogeneous polynomials of degree n and g-type w to the Cartan subalgebra
  and then computes monomial representatives of S[h]/J. 
CAVEATS: requires a previously initialized global Lie algebra environment.
  (See LieTools[gSetup].)
EXAMPLE: 

SEE ALSO: 
