Fixed bug in physlayer
changed makefile