Fixed ClusteredMatrix2. Works fine even with Prime numbers.

ClusteredMatrix2 is the non-power-of-two-optimized version of
FastClusteredMatrix2, of which the latter only allows power-of-two dimension
sizes.
ClusteredMatrix2 is now fixed. So that allows to have any sizes of dimensions
now.