A constrained DFT plugin for Psi4