Add print methods to Matrix and Vector