Fixed math.
Added genmsg deps.
Merged parallel changes.