Fixed makefile and projection calculation error