refactored eps_nbr_slope ... yet to test code