Bugfix (slash in source)
Some fixes for the encoder.
Correctly decode the data (serialize the matrix).
Return correct results for stat().
Unit tests.
Slight optimization.