tiiiiiiiiiny changes. packed matrix, and little change to pp.