Computation at the speed of light: metamaterials for all-optical calculations and neural networks | Synapse