finished matrix, cannot implement. leaving for now