Added MathPiece and enhanced LeftRightControlling to vectorbased