Update fitting.rst

colon missing in residual function example.
Merge pull request #45 from Yunta/patch-1

Update fitting.rst