Replace type of data member nodes of class Elem
Remove matrix and vector classes