fixes unoptimized sgemm