added a function that calculates the cumulative sum of deltabkd for predicted and real. Also, fixed the num_points problem by feeding np.interp's 3rd argument num_points + 1