Added function "getValuesByRow" to get rows of matrix given a list of row names.