QCP refactoring finished to fit with the RMSD functions. KernelFunction
class added. Starting to add new features to Serial and OpenMP version
(CUDA version is probably broken)