Some imports related to rimaps now are inside try

Since rimaps and some other related functions require the optional
library Polygon2, the regular user of the clustering methods would
see an error.
Cleanup (imports, a file and spaces)

removed some whitespaces and a couple of unused imports