tweaked likely_matrix::data type to avoid casting in most situations