Makefile added and fixing psat.c