Added shapeSim.m