Fixing the bounding box of an object

Now using affine transforms to scale and translate
Handling placement with clearance