Refactored config, user passes on arbitrary rcparams now.
Added legend_ncol option.