changed paml matrix extract to also give list of kn and ks values