Impl Eq for Mat2 and fail gracefully in `from_vec`