added clustersimfunction.m and video