Fix Misty implementation.

Test vectors pass now.