Ref #103: enhancement for small matrix dimensions

Based on some statistical tests, I modified interface/gemm.c for small matrix dimensions.