New implementation of DecodingLayer: this class now holds all the state_variables and decoder activity and information (it's more organized this way). Each population object has its own decoding_layer..
corrected iterate_input_sequence (needs further tests)