Novel Methods of Measuring and Classifying Depression, Anxiety, and Perseverative Thinking