added new version of rotate method
Merge branch 'dev' of https://github.com/weikanglim/colloid-polymer-osp-simulation into dev