We define a 'Pref_matrix' for polymesh nodes on the last layer now.