Change sh to bash
modify rounding procedure
Add rounding procedure