Fix UMAC computation.

Fixes #20.