add batch method for GLMs and AI-SGD for poisson regression; closes #1, closes #2