added some Point math and Rectangle class