Fixed a bug in test script for FPGA code. Changed FPGA code to use permanent Makefile, which has now been added