Adaptive optical networks using photorefractive crystals | Synapse