Linerec (linear recurrent) neural network