Fixed problem with hog features from uint16 (by performing a cast to double).