likely_matrix_data ==> likely_matrix_element, removed helper functions