test
started matrix implementation