did some testing and moved matrix helpers to matrix_util
matrix_util is born