Moved far plane removal to a separate function so it gets called prior
to centroid estimation.

Added check prior to visualization that any transforms at all were
found. Prevents segfault.