STY: wrap lines at 80 chars
ENH: shorter and faster (thanks @wasade!)
DOC: add docstring to cython function