c: matrix multiply app for noc