Move from an array of function pointers to actual methods.
remove file.
Specialize computeData for arrays.