fixed a bug in symmatg.compile and made it an Expression member