Calculating personality type on survey form