Fixed bug where compute sift is not defined.