added option for second order decoders in regression