corrected collectBoundsAndCenter using getEnvelopeInternal().
corrected collectBoundsAndCenter using getEnvelopeInternal() (Issue 165). Moved to SpatialiteUtilities.