added matrix methods for addition, multiplication, transposing and mapping