CRP6D interpolation finished. UNESTABLE VERSION, COMPILES BUT DOES NOT WORK, segmentation faults