num types in Rectangle and Point

Using explicit double types was a bad idea, it breaks some code.
Some use cases require integers.
We will look at this later.