add calc gist cifar