Convert more stuff to be parameterizable.
- Add one_hot_to_index module that can take an arbitrary number of inputs
- concatenate dir_l2_dirty signals