sub method in matrix accepts now a seq of columns and rows to be extracted.