implement slope interpolation and test scores