Replaced bzero with memset as per issue #9