Check for errors in the entire the bounds matrix

Smoothing the bounds matrix prior to editing it for the
double ended geometries provides a good starting matrix.
However this needs to be further edited as we may have
introduced some inconsistencies.