Altered the behavior of RemainingHeight so that it respects the current pages height setting.  The average height is now recalculated during each set of compression calculations.  Removed an unnecessary throwing of an exception.  Fixed SplitTopRectangle's calculation of the split height.
Altered the behavior of RemainingHeight so that it respects the current pages height setting.  The average height is now recalculated during each set of compression calculations.  Removed an unnecessary throwing of an exception.  Fixed SplitTopRectangle's calculation of the split height.

AlexanderSWilliams/RectangleCompression