CSU beats Wyoming in final seconds