ARS update

Add comments and minor modification
Merge branch 'master' of https://github.com/yfyang86/hamimc