Library for fitting nonlinear neural encoding models