bru_mapper_matrix function

Mapper for matrix multiplication