- correct the error in computing the probability of maintaining inertia
- write the Makefile