Included a class to create a matrix of all the lines.