Adding a tool to build mtm file from training.set.

This tool must be compiled with trios

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>