Added some comments to shapehist.C