Updated makefile, fixed div by 0 error.