added patch for ColumnRankProfile

Hi Mike,

here is the patch for ColumnRankProfile;

but I'm confused: 
did you change M2 matrix storage format to row major?