added matrix batch to readme.md
call quit() instead of close()