What are the different factors that determine the height of a ball bounce on various surfaces?