Fix geometry.rectmidpoint() mathematical error.
Merge pull request #162 from jhgg/master

Fix geometry.rectmidpoint() mathematical error.