[src] Simple matrix implementation