Optimizations.

- Logify the matrices - eliminates a table lookup.
- in-place operators are more efficient.

The C implementation is only 5% faster. I'm think doing it right and
doing arch word at a time could improve the situation in C, but I'm
tired.