Added FC batch layer.

Also added input layer for batching,
as well as XOR test that uses batches.