added general matrix multiply to ScalarLoopCode