Refactoring of kernel function blas_sgemm().

Not it uses less variables and does less calculations. Code size
also went down and should be a bit clearer.
Propagates last commit to blas_dgemm().