Add from_vec for Mat