Add Rectangle width and height properties to compute the width correctly for rectangles crossing the IDL. Replace all instances of east - west because it assumes east > west.
Fix Rectangle contains function. Math.negativePiToPi can introduce some error.