 		}
 	}
 
-	for ( i = 0; i < M->cols; i++ ) {
-		elem(a, 0, i) /= M->rows;
-	}
+	m_elem_mult(a, 1.0f / M->rows);
 
 	return a;
 }


	// print debug information
	if ( LOGGER(LL_DEBUG) ) {
		printf("%s [%d,%d] <- %s%s [%d,%d] * %s%s [%d,%d]\n",
		       "C", M, N,
		       "A", transA ? "'" : "", M, K,
		       "B", transB ? "'" : "", K, N);

		}
	}

	m_elem_mult(a, 1.0f / M->cols);

	return a;
}
