grextras: fixed xml for math blocks (num inputs not used)