A Simple Method of Removing Spin Contamination From Unrestricted Kohn-Sham Density Functional Calculations