Gravar-mail: A state space approach for piecewise-linear recurrent neural networks for identifying computational dynamics from neural measurements