bilinear and full rank neural encoding, in MATLAB and Julia