Added chkinst and mandelhist