Added function documentation.

Added
=====

* numpydoc-style documentation for functions in raster_funcs.py.
* Added doctests for functions.