Photochemical Ring Opening of Oxirane Modeled by Constrained Density Functional Theory