Fix typedef and include guard in clustering and cluster_analysis

This pull request is for minor revision to clustering and cluster_analysis.

- Type ``cluster_weight`` , ``cluster_unit`` and ``cluster_set`` are explicitly defined.

- Some include guards have been fixed.