Added 'to_Mat' to Matrix and Vector.