Investigations Into the Role of Native Defects on Photovoltaic and Spintronic Properties in Copper Oxide