Gravar-mail: Functional identification of complex cells from spike times and the decoding of visual stimuli