Split out color coefficient matrix routines from dctimestep
Added missing (and unnecessary) "extern" in declaration