Checks compatibilities, modifies shells and corr_shells and sets variables needed for spin-orbit coupled systems.