A Comprehensive Computational Model of Sustained Attention