Fix ambiguous comment about complex arithmetic in docs
Allow arrays for extra_args in scan-based algorithms