added the generate rocks function as well as fix some bugs with floating heads