fix activation func in hinton example