fixed up gridder task, w/ initializing cvalues, taking in mapping file as input