Fixed test.anc.state for anc.state fun
Updated fun to deal with new anc.mat 3
RATES method implementation