Add binary serialization to Math.Algebra module