List the factors affecting the speed of sound in a gaseous medium