Fix 3x3 invert routine.

Signed-off-by: John McCutchan <john@johnmccutchan.com>