Fixed broken Makefile
Negative minuses caused functions return negative values; fixed