* Bugfixes: - changed BUFSIZE based on empirical observations and added overflow check             - check for sparse arrays
* Bugfixes: - changed BUFSIZE based on empirical observations and added overflow check
            - check for sparse arrays

aschmolck/mlabwrap,aschmolck/mlabwrap,aschmolck/mlabwrap