bugfix: label fed to sgd as array, not matrix