Update contour.jl

Use of `min` and `max` resulted in error, I replaced them with `minimum` and `maximum`
Merge pull request #163 from tpoisot/master

Update contour.jl