General matrix multiplication of f32 and f64 matrices in Rust. Supports matrices with general strides.