Added CRN_funcs and the driver file. These have yet to be tested so are incomplete.