Refined the preturbation process.
Fixed the makefile.