Bug fixed in hog.g: clip_ variable changed from bool to float.