Photonic memristive devices for in-memory matrix operation | Synapse