Introduction of n-electron valence states for multireference perturbation theory | Synapse