Updates: Finish the beta version of coursework part 2. Need a lot of debugging, especially the numerical rounding issues.