added shell of multiply and transpose methods, added map method for matrix