Faster random minibatch iterator
New loss function which includes inter-modal hashing