fix rotation on polys, generate bounding box for polys
switch to using polygon lib for bounding box - probably faster