Update TriangularMatrix.cpp

Added another constructor that initializes the matrix's dimensions.