Study: Montana 6th most prosperous state