added intializecloth for vertical and horizontal cloths