ln 179 & 181: second self.y changed to self.x

For vector:angleTo()
Merge pull request #31 from mifuyne/master

ln 179 & 181: second self.y changed to self.x