Psychologist sentenced to pay millions in damages