adding validation function for RawMatrix
adding validation for Matrix object
isolated reading a line from creating a raw matrix.
Will now proceed to create functionality for reading matrix with labels from file