Updates to use results matrix and slope tests and lists
Updates for PYR. Not working as good as before though