Allow command-line control over minibatch size and sample size
Merged from master
clsampler init() before OpenCL
UNTESTED -- new idea: do subbatches of the minibatch if the whole thing does not fit
Correct some size errors