Fix failing assert when number of images in batch is 1.
Forgot to include license stuff. Thanks to Sergey Demyanov for pointing out.
Including license header. Thanks to Sergey Demyanov for pointing out its omission.
Fixed cross-entropy cost bug reported by Aniket Vartak.
update
Merge remote branch 'origin' into develop
Compile complete