Little improvements in MathDebug

Change-Id: I7a9859d3fee140138bf287d859b27ade0cdbd4b9