An Algorithm for Quantifying Anxiety, Stress, and Attention: Towards Objective Assessment of Mental States | IEEE Conference Publication | IEEE Xplore