fixed an error in installation detection
added link to docs page in setup.py
added keyword 'mode' to autogridding functions