ragged matrix