new methods for matrix: map and combine for applying any elementwise operation of one or two matricies