simplified initializing hidden with zeros