MathML Reader: Improved behavior of semantic element
MathML Reader: Avoided unecessary grouping

Also ensured that the root element is a math element.