better centering algorithm
Merge branch 'master' of https://github.com/angela97lin/TeamGemini