Theorethical study on the ground and excited states of Chromyl Fluoride (CrO2F2)