Ultraviolet Catastrophe Explained