Restructured makefile and added test case for beta function derivatives
Removed old spectrum generator files