Python Fit Function To Data Points