# A way to calculate colour from wavelength?

I'm trying to create a script taking my experimental values of measured radiance and turn it into xyz and rgb colour values. I import table with colour matching functions from here -http://cvrl.ucl.ac.uk/cmfs.htm
But I'm running into a trouble, because the step of my measured data goes like this: 400nm, 403.535nm, 407.071nm, 410.606nm, etc and I don't know how to get it to match the one from colour matching functions to get this code to work:

Calc[radiance_] :=
Module[