A Memristor-Inspired Computation for Epileptiform Signals in Spheroids