Matrix library in Rust