Right now training a SOM is super slow. The way we do training is probably the main culprit. Lines 200-204 should be changed to allow for batches or whole-dataset training via matrix multiplication; therefore, the placeholders' dimensionality should also be changed to account for that.