added random number seed to hicluster + fixed numerous bugs

most bugs were in random_comp, the only bug present in hicluster
identified was an error counter which reset every loop of the
iterator.