fixing rbmtrain so that every batch does not have to be exactly the same size