Decoding task states from distributed local field potential recordings