Gravar-mail: The representation of input correlation structure from multiple pools in the synaptic weights by STDP