Matrix cpp library