Finally got the main 3dLocalizer program to compile