Added documentation on curve-reverse and curve-length. Fixed grid example.