Matlab code to calculate energy efficient receptive fields