copy constucor and assignment operator were added to template Matrix class